<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增任务执行指令')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-centralOperationStationMaterialLog-add">
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">操作工位编号：</label>
                <div class="col-sm-8">
                    <select name="operationStationId" class="form-control m-b" required>
                        <option value="">请选择</option>
                    </select>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">操作工位名称：</label>
                <div class="col-sm-8">
                    <input name="operationStationName" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">物料编号：</label>
                <div class="col-sm-8">
                    <select name="materialId" class="form-control m-b" required>
                        <option value="">请选择</option>
                    </select>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">物料类型名称：</label>
                <div class="col-sm-8">
                    <input name="materialTypeName" class="form-control" type="text" required>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "central/centralOperationStationMaterialLog"
        $("#form-centralOperationStationMaterialLog-add").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operation.insert(prefix, $.common.formToJSON());
            }
        }


    </script>
</body>
</html>